home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor2 / xpurge.doc < prev    next >
Text File  |  1995-03-31  |  3KB  |  91 lines

  1.    From: William C Wickes <hpcvra!hpcvdw!billw> 
  2. Subject: Fast PURGE 
  3.    Date: Fri, 10 Jan 92 08:02:27 pst 
  4.  
  5. [Note: Here's the long-awaited sequel to FPGDIR on Goodies Disk #5.  Notice 
  6. that we both ran into troubles, but Bill didn't give up like I did.  -jkh-] 
  7.  
  8. Hi, Joe: 
  9.  
  10. Now that Insights II is finished I have some time to hack around a bit. 
  11. XPURGE is a safe combination of PURGE and PGDIR that works like PURGE except 
  12. that it will blow away non-empty directories.  The latter is done quickly 
  13. unless a directory is referenced, in which case the slow PGDIR approach is 
  14. used. 
  15.  
  16. I thought you might like to try it out before I post it for wider 
  17. distribution. 
  18.  
  19. Cheers,  
  20.  
  21. Bill Wickes 
  22.  
  23. ---------- 
  24.  
  25. ( Hey, Bill: it doesn't work!  And why is XLIB 703 0 in there??  -jkh-) 
  26.  
  27. ---------- 
  28.  
  29.    From: William C Wickes <hpcvra!hpcvdw!billw> 
  30. Subject: Youch! 
  31.    Date: Wed, 15 Jan 92 15:44:33 pst 
  32.  
  33. XLIB 703 0 is in there because I'm an idiot.  I wrote XPURGE as part of 
  34. a utility library that I keep on my own 48.  Then I decided that since 
  35. it didn't call anything else in the library, I could send it out as 
  36. a stand-alone object rather than worrying about all the library overhead. 
  37. But I neglected to remember that it called itself as part of the 
  38. list argument loop, so of course it gets lost. 
  39.  
  40. So throw it away, and accept my apology for trashing your machine.  This 
  41. was not revenge for FPGDIR -- I KNEW that would blow up, and only tested 
  42. it in don't-care 48's.  And I never try out anything in my do-care 
  43. machine without backing it up on some write-protected device, preferably 
  44. on a PC in a locked file cabinet in the basement guarded by a leopard. 
  45.  
  46. I'll get back to you when I figure out how to have an unnamed object 
  47. call itself. 
  48.  
  49. Bill Wickes 
  50.  
  51. ---------- 
  52.  
  53.    From: William C Wickes <hpcvra!hpcvdw!billw> 
  54. Subject: XPURGE: The Return 
  55.    Date: Wed, 15 Jan 92 16:36:42 pst 
  56.  
  57. OK.  I hacked some more, this time dipping into uncharted waters 
  58. of weird RPL practices.  New version of XPURGE below.  Kindly archive 
  59. your memory (and that of the 48) before trying this at home. 
  60.  
  61. --Bill Wickes 
  62.  
  63. ---------- 
  64.  
  65. ( Hey, Bill: It crashes when you try to xpurge a stored XLIB!  -jkh-) 
  66.  
  67. ---------- 
  68.  
  69.    From: William C Wickes <hpcvra!billw%hpcvdw.cv.hp.com> 
  70. Subject: XPURGE 
  71.    Date: Thu, 16 Apr 92 14:43:06 pdt 
  72.  
  73. Joe: 
  74.  
  75. I tracked down the problem with XPURGE that caused it to bomb with stored 
  76. ROM objects.  Subtle, but I should have thought about it.  Anyway, here 
  77. is a corrected version. 
  78.  
  79. Now, did we learn our lesson about trying new software from Wickes: 
  80. "Always archive FIRST!". 
  81.  
  82. Cheers, 
  83.  
  84. Bill 
  85.  
  86. ---------- 
  87.  
  88. [Note: Don't you just love happy endings? 
  89.  In case it isn't obvious, XPURGE replaces both PURGE and PGDIR. 
  90.  Assign it to a key and use it to purge things.  -jkh-] 
  91.